package com.xyzh.stj.web.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xyzh.application.base.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户角色
 * </p>
 *
 * @author @JZB
 * @since 2023-10-29
 */
@Getter
@Setter
@TableName("user_role")
@ApiModel(value = "UserRoleEntity对象", description = "用户角色")
public class UserRoleEntity extends BasicEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.NONE)
    private Integer id;

    private String userId;

    private String roleId;


}
